package eleventh.Random类;

import java.util.Random;

public class 生成10个随机数 {
    public static void main(String[] args) {
        Random r =new Random();
        for (int i = 0; i < 10; i++) {
            System.out.print(r.nextInt(100)+"\t");
        }
    }
}
/*
D:\WorkSpaces\Java\jdk-21\bin\java.exe "-javaagent:D:\Software\IntelliJ IDEA\IntelliJ IDEA 2023.3.2\lib\idea_rt.jar=56506:D:\Software\IntelliJ IDEA\IntelliJ IDEA 2023.3.2\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\WorkSpaces\JavaDevelopBase_start_329\out\production\JavaDevelopBase_start_329 eleventh.Random类.生成10个随机数
9	50	96	24	15	33	59	15	0	15
Process finished with exit code 0

 */